import sys
import os

from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication
from MainWidget import MainWidget

if __name__ == '__main__':
    print('main1')
    app = QApplication(sys.argv)
    print('main2')
    mw = MainWidget(None, Qt.Widget)
    print('main3')
    mw.show()
    print('main4')
    sys.exit(app.exec_())
